package Entities.Advantages;

import Entities.Drawable;
import Visitor.IVisitor;

public class IncreaseBallSpeed implements IAdvantage {

    private int x;
    private int y;
    private int width;
    private int height;
    private int dy;
    private int id;

    public IncreaseBallSpeed(int x, int y, int width, int height) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
        dy = 0;
    }

    @Override
    public Drawable accept(IVisitor visitor) {
        return visitor.visit(this);
    }

    @Override
    public void addChild(Drawable drawable) {
    }

    @Override
    public void remove(Drawable drawable) {
    }

    @Override
    public Drawable getChild(int pos) {
        return null;
    }

    @Override
    public int getNumElems() {
        return 0;
    }

    @Override
    public int getX() {
        return x;
    }

    @Override
    public void setX(int x) {
        this.x = x;
    }

    @Override
    public int getY() {
        return y;
    }

    @Override
    public void setY(int y) {
        this.y = y;
    }

    @Override
    public int getWidth() {
        return width;
    }

    @Override
    public void setWidth(int width) {
        this.width = width;
    }

    @Override
    public int getHeight() {
        return height;
    }

    @Override
    public void setHeight(int height) {
        this.height = height;
    }

    @Override
    public int getDy() {
        return dy;
    }

    @Override
    public void setDy(int dy) {
        this.dy = dy;
    }

    @Override
    public int getId() {
        return id;
    }

    @Override
    public void setId(int id) {
        this.id = id;
    }
}
